package com.zhengyisky;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class UserApp
{
    public static void main( String[] args )
    {
        SpringApplication.run(UserApp.class);
    }

    @Bean
    public BCryptPasswordEncoder initBCrypt(){
        return new BCryptPasswordEncoder();
    }
}
